
from calc import MyCalc


class Test1:
    def test_add(self):
        x, y = 5, 6
        assert MyCalc.add(a=x, b=y) == 11

    def test_minus(self):
        m, n = 4, 5
        assert MyCalc.minus(a=m,b=n) != 1

    def test_multiply(self):
        calc = MyCalc()
        m, n = 2, 4
        assert  calc.multiply(a=m,b=n) == 8

    def test_divide(self):
        calc = MyCalc()
        m, n = 8, 4
        assert calc.divide(a=m, b=n) != 8